// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import "babel-polyfill"
import Vue from "vue";
import App from "./App";
import Layout from "./frame/template/Layout.vue";
import router from "./router";
import "./api/axious";
import "./api";
import "./api/axious";
import store from "./store/";
import MintUI from "mint-ui";
import "mint-ui/lib/style.css";
import "../src/assets/css/base.css";
import "../src/assets/css/color.scss";
Vue.use(MintUI);
//const baseUrl = 'http://192.168.0.220:8010/api';
const baseUrl = "http://dhm.jsz111.com/api"
Vue.prototype.baseUrl = baseUrl;
Vue.prototype.SETTIME = 3000;
Vue.prototype.PAGESIZE = 10;
Vue.prototype.re = /^[0-9]+.?[0-9]*$/;
// 将API方法绑定到全局
Vue.config.productionTip = true; //开启编译提示
/* eslint-disable no-new */
new Vue({
    el: "#app",
    router,
    store,
    template: "<Layout/>",
    components: {
        Layout
    }
});